package org.dromara.system.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.dromara.system.domain.FXcxUser;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import org.dromara.common.excel.annotation.ExcelDictFormat;
import org.dromara.common.excel.convert.ExcelDictConvert;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.Date;



/**
 * 小程序用户视图对象 f_xcx_user
 *
 * @author Zhangshuming
 * @date 2024-03-27
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = FXcxUser.class)
public class FXcxUserVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    private Long id;

    /**
     * openId
     */
    @ExcelProperty(value = "openId")
    private String openid;

    /**
     * 昵称
     */
    @ExcelProperty(value = "昵称")
    private String nickename;

    /**
     * 头像
     */
    @ExcelProperty(value = "头像")
    private String avatar;

    /**
     * 是否会员
     */
    @ExcelProperty(value = "是否会员", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_is_vip")
    private String isVip;

    /**
     * 余额
     */
    @ExcelProperty(value = "余额")
    private BigDecimal money;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    private Date createTime;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 逻辑删除
     */
    @ExcelProperty(value = "逻辑删除")
    private String delFlg;

    /**
     * 电话
     */
    private String phone;

    /**
     * 省份
     */
    private String province;

    /**
     * 市
     */
    private String city;


}
